package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.course.CourseDTO;
import com.qk.entity.Course;

import java.util.List;

/**
 * @Author: chouh
 * @DateTime: 2025/10/11 19:38
 * @Description:
 */

public interface CourseService {

    List<Course> queryCoursesBySubject(String subject);

    List<Course> queryAllCourses();

    void updateCourse(Course course);

    Course queryCourseById(Integer id);

    void addCourse(Course course);

    void deleteCourse(Integer id);

    PageResult<Course> listCourse(CourseDTO courseDTO) ;
}
